package com.ysd.lis.controller.qi;


import com.ysd.common.Result;
import com.ysd.lis.controller.pub.BaseController;
import com.ysd.lis.request.qi.QiParam;
import com.ysd.lis.service.qi.QiIndexSqlDataCollectService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 指标项目条件表 前端控制器
 * </p>
 *
 * @author PRS
 * @since 2024-07-15
 */
@Api(tags = "质量指标抽取汇总数据")
@RestController
@RequestMapping("/api/qi/qiIndexSqlDataCollect")
public class QiIndexSqlDataCollectController extends BaseController {

    @Autowired
    QiIndexSqlDataCollectService qiIndexSqlDataCollectService;
    @ApiOperation("查询")
    @GetMapping("/findQiIndexItemAndDataCollectList")
    public Result findQiIndexItemAndDataCollectList(QiParam pageParam){
        return qiIndexSqlDataCollectService.findQiIndexItemAndDataCollectList(pageParam);
    }

}
